#!/bin/bash

set -e

case "$1" in
    remove)
        command -v update-grub > /dev/null && update-grub
    ;;

    purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0
